﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="quanlythanhvien.aspx.cs"
    Inherits="Cucre.quanlythanhvien" Title="MUARE.VN - Quản lý thành viên" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="page_content">
        <div style="padding-left: 6px;">
            <div class="clear">
            </div>
            <div class="br">
            </div>
            <div class="content_home">
                <%-- vùng thể hiện menu --%>
                <div class="ch_1 font">
                    <div class="l">
                        <div class="ll">
                        </div>
                        <div class="lc">
                            <ul id="tab_menu">
                                <li id="tabmnu_1"><a href="QuanLy.aspx"><span class="tab_mnu_l"></span><span class="tab_mnu_c">
                                    Tin Khuyến Mãi&nbsp;</span><span class="tab_mnu_r"> </span></a></li>
                                <li id="tabmnu_4"><a href="quanlydondathang.aspx"><span class="tab_mnu_l"></span><span
                                    class="tab_mnu_c">Đơn Đặt Hàng&nbsp;</span> <span class="tab_mnu_r"></span></a>
                                </li>
                                <li id="tabmnu_2"><span class="tab_mnu_r"></span></li>
                                <li id="tabmnu_3"><a href="QuanLyDoanhNghiep.aspx"><span class="tab_mnu_l"></span><span
                                    class="tab_mnu_c">Doanh Nghiệp&nbsp;</span> <span class="tab_mnu_r"></span></a>
                                </li>
                                <li id="Li1"><a href="quanlythanhvien.aspx"><span class="tab_mnu_l_curent"></span><span
                                    class="tab_mnu_c_curent">THÀNH VIÊN&nbsp;</span> <span class="tab_mnu_r_curent">
                                    </span></a></li>
                                <li id="Li2"><a href="QuanLyComment.aspx"><span class="tab_mnu_l"></span><span class="tab_mnu_c">
                                    COMMENT&nbsp;</span> <span class="tab_mnu_r"></span></a></li>
                                <li id="Li3"><a href="baocaothongke.aspx"><span class="tab_mnu_l"></span><span class="tab_mnu_c">
                                    THỐNG KÊ&nbsp;</span> <span class="tab_mnu_r"></span></a></li>
                            </ul>
                        </div>
                        <div class="lr">
                        </div>
                    </div>
                    <div class="r">
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <%-- het vung menu --%>
                <%-- vùng làm việc --%>
                <div class="ch_2">
                    <h2 style="margin-bottom: 20px;" align="center">
                        TRANG QUẢN LÝ THÀNH VIÊN
                    </h2>
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                            </asp:ToolkitScriptManager>
                            <div style="height: 36px" align="center">
                                <asp:Table ID="Table1" runat="server">
                                    <asp:TableRow>
                                        <asp:TableCell>TÌM KIẾM THÀNH VIÊN : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        </asp:TableCell>
                                        <asp:TableCell>
                                            <asp:TextBox ID="txtSearchThanhVien" runat="server" CssClass="text_1 form_text" Width="200px"></asp:TextBox>
                                        </asp:TableCell>
                                        <asp:TableCell>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:Button ID="btSearchThanhVien" runat="server" Text="Tìm Kiếm" BorderStyle="Solid"
                                                BackColor="#DEDFFE" Height="25px" Width="100px" OnClick="btSearchThanhVien_Click" />
                                        </asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                            </div>
                            <h3 style="margin-bottom: 20px;">
                                Danh Sách Các Thành Viên :</h3>
                            <div align="center">
                                <asp:Label ID="ResultDataBound" runat="server" ForeColor="Red"></asp:Label>
                                <asp:GridView ID="DanhSachThanhVien_GridView" runat="server" AutoGenerateColumns="False"
                                    AllowPaging="True" PageSize="8" BorderStyle="Groove" OnPageIndexChanging="DanhSachThanhVien_GridView_PageIndexChanging"
                                    OnRowDeleting="DanhSachThanhVien_GridView_RowDeleting" OnSelectedIndexChanging="DanhSachThanhVien_GridView_SelectedIndexChanging">
                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Height="20px" />
                                    <PagerStyle Font-Underline="True" Font-Bold="true" />
                                    <SelectedRowStyle BackColor="#DEDFFE" Font-Bold="true" ForeColor="#333333" Height="25px" />
                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="true" ForeColor="White" Height="25px" />
                                    <Columns>
                                        <asp:BoundField DataField="IDMEMBER" HeaderText="ID" ReadOnly="true" SortExpression="IDMEMBER"
                                            ItemStyle-Width="30px" />
                                        <asp:BoundField DataField="USERNAME" HeaderText="UserName" ReadOnly="true" SortExpression="USERNAME" />
                                        <asp:BoundField DataField="NAME" HeaderText="Name" ReadOnly="true" SortExpression="NAME" />
                                        <asp:BoundField DataField="EMAIL" HeaderText="Email" ReadOnly="true" SortExpression="EMAIL" />
                                        <asp:BoundField DataField="ADDRESS" HeaderText="Address" ReadOnly="true" SortExpression="ADDRESS" />
                                        <asp:CommandField SelectText="View Detail" ShowSelectButton="true" ItemStyle-ForeColor="Blue"
                                            ItemStyle-Font-Underline="true" />
                                        <asp:CommandField DeleteText="Delete" ShowDeleteButton="true" ItemStyle-ForeColor="Blue"
                                            ItemStyle-Font-Underline="True" />
                                    </Columns>
                                </asp:GridView>
                                <div style="height: 15px">
                                </div>
                                <div style="height: 15px" align="right">
                                    <asp:LinkButton ID="ShowAll" runat="server" Text="Show Tất Cả Thành Viên" Font-Underline="True"
                                        ForeColor="Blue" OnClick="ShowAll_Click"></asp:LinkButton>
                                </div>
                                <div class="br">
                                    <hr />
                                </div>
                                <%-- vung thong tin chi tiet thanh vien --%>
                                <div align="center" style="width: 600px">
                                    <div>
                                        <h3>
                                            Thông Tin Chi Tiết Thành Viên</h3>
                                    </div>
                                </div>
                                <div style="background-color: White">
                                    <div style="height: 20px">
                                    </div>
                                </div>
                                <div style="width: 600px">
                                    <div style="background-color: #DEDFFE" align="center">
                                        <div style="height: 30px">
                                        </div>
                                        <div>
                                            User Name : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="Username_tb" runat="server"
                                                Width="250px"></asp:TextBox></div>
                                        <div style="height: 20px">
                                        </div>
                                        <div>
                                            Full Name : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="FullName_tb" runat="server"
                                                Width="250px"></asp:TextBox></div>
                                        <div style="height: 20px">
                                        </div>
                                        <div>
                                            Email &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox
                                                ID="Email_tb" runat="server" Width="250px"></asp:TextBox></div>
                                        <div style="height: 20px">
                                        </div>
                                        <div>
                                            Identity Card &nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;<asp:TextBox ID="CMDN_tb" runat="server"
                                                Width="250px"></asp:TextBox></div>
                                        <div style="height: 20px">
                                        </div>
                                        <div>
                                            Number Phone:&nbsp;<asp:TextBox ID="NumberPhone_tb" runat="server" Width="250px"></asp:TextBox></div>
                                        <div style="height: 20px">
                                        </div>
                                        <div>
                                            Address &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox
                                                ID="Address_tb" runat="server" Width="250px"></asp:TextBox></div>
                                        <div style="height: 30px">
                                        </div>
                                    </div>
                                </div>
                                <div style="background-color: White" align="center">
                                    <div style="height: 30px">
                                    </div>
                                    <asp:Button ID="Register_bt" Text=" Create New Member" runat="server" Height="30px"
                                        Width="150px" BorderStyle="Outset" BackColor="#DEDFFE" OnClick="Register_bt_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="Delete_bt" Text=" Delete " runat="server" Height="30px" Width="150px"
                                        BorderStyle="Outset" BackColor="#DEDFFE" OnClientClick="return confirm('Bạn Có Chắc Chắn Muốn Xóa Thành Viên Này?')"
                                        OnClick="Delete_bt_Click" />
                                    <div style="height: 50px">
                                    </div>
                                </div>
                                <%--------------------------- -------------------------------------------------------%>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
                <%--//-----------------------------------------------------------------------/
                NỘI DUNG
                //-----------------------------------------------------------------------/--%>
            </div>
        </div>
        <%--đường kẻ ngang phía dưới --%>
        <div style="background: url(images/temp2_3.gif) no-repeat left bottom; padding-left: 18px;
            height: 11px;">
        </div>
        <%-- --%>
    </div>
</asp:Content>
